package Operation;

import Book.BookList;

public class DisplayOperation implements IOperation{
    @Override
    public void work(BookList booklist) {

        System.out.println("打印图书");
        for(int i = 0;i< booklist.getUsedSize();i++){
            System.out.println(booklist.getPos(i));
        }
        System.out.println("打印完成");
    }
}
